/**
 * Author atguigu
 * Date 2020/11/2 9:00
 */
object A {
    def main(args: Array[String]): Unit = {
        val (a, b) = %/(10, 3)
        
        val map = Map(1 -> 10, 2 -> 20)
        for ((k, 20) <- map) {
            println(k)
            
        }
        
    }
    
    def %/(a: Int, b: Int) = {
        a / b -> a % b
    }
}
